package com.lovo.project2.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("t_role9")
public class RoleBean {
   @TableId(value = "id" ,type = IdType.AUTO)
    private int roleId;
   @TableField("role_name")
   private String roleName;
   @TableField(exist = false)
  private List<PermissionBean> perLists;

}
